<template>
  <div class="msg_head_body">
    <div class="msg_background_box">
      <div class="msg_background">
        <div class="back" @click="back">＜</div>
        <div class="msg_text">消息</div>
      </div>
      <div class="info_box">
        <div class="info_img_main">
          <div class="img_item">
            <img class="img_body" src="dingdan.png" />
            <br />
            <div class="img_text">
              <div class="img_text_body">订单通知</div>
            </div>
          </div>
          <div class="img_item">
            <img class="img_body" src="goout.png" />
            <div class="img_text">
              <div class="img_text_body">出行助手</div>
            </div>
          </div>
          <div class="img_item">
            <img class="img_body" src="message.png" />
            <div class="img_text">
              <div class="img_text_body">互动消息</div>
            </div>
          </div>
          <div class="img_item">
            <img class="img_body" src="msg.png" />
            <div class="img_text">
              <div class="img_text_body">系统消息</div>
            </div>
          </div>
          <div class="img_item">
            <img class="img_body" src="activity.png" />
            <div class="img_text">
              <div class="img_text_body">活动通知</div>
            </div>
          </div>
        </div>
        <div class="text_id">您的携程账号已成功绑定QQ账号，现在起可使用QQ账号授权登录携程</div>
      </div>
    </div>
    <div class="msg_box">
      <hr />
      <div>
        <div class="moremsg_text">没有更多内容了</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      isShow: false,
    };
  },
  methods: {
    back: function () {
      this.isShow = false;
      this.$router.replace('/home')
    }
  },
};
</script>

<style>
.msg_head_body {
  height: 100px;
  background: rgb(102, 163, 241);
  width: 100%;
}
.back {
  color: white;
  font-size: 20px;
}
.msg_background {
  width: 95%;
  margin: auto;
  display: flex;
  margin-top: 10px;
}
.back {
  margin-top: 5px;
}
.msg_text {
  margin-top: 8px;
  margin-left: 128px;
  color: white;
  font-size: 17px;
}
.info_box {
  position: absolute;
  background: white;
  width: 90%;
  height: 100px;
  left: 5%;
  top: 8%;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #dddddd;
}
.info_img_main {
  width: 100%;
  margin: auto;
  display: flex;
  margin-top: 10px;
  height: 70%;
}
.img_body {
  flex: 1;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  align-content: center;
}
.img_item {
  flex: 1;
  text-align: center;
}
.img_text {
  width: 100%;
  margin: 0 auto;
  display: flex;
  font-size: 10px;
}
.img_text_body {
  margin: 0 auto;
}
.text_id {
  width: 90%;
  background: rgb(253, 243, 224);
  height: 20px;
  margin-top: -10px;
  margin-left: 15px;
  border-radius: 5px;
  font-size: 10px;
  color: rgb(170, 170, 170);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.msg_box {
  margin-top: 118px;
  color: rgb(133, 132, 132);
  height: 500px;
  background: rgb(248, 250, 250);
}
.moremsg_text {
  text-align: center;
  margin: 0 auto;
}
</style>
